import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入element
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

// 引入echarts
import echarts from 'echarts'

// 引入iconfont
import './assets/font/iconfont.css'

// 引入url全局使用
import url from '@/api/url'

Vue.config.productionTip = false

// url挂载到vue的原型上
Vue.prototype.$url = url

// echarts挂载到vue的原型上
Vue.prototype.$echarts = echarts

// 挂载element
Vue.use(ElementUI)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
